﻿@page
@model XZTZ.UMP.WEB.Pages.Base.BillTemplet.IndexModel

@{
    ViewData["Title"] = "Index";
}

<h1>Index</h1>

<p>
    <a asp-page="Create">Create New</a>
</p>
<table class="table">
    <thead>
        <tr>
            <th>
                @Html.DisplayNameFor(model => model.BillTemplet[0].GuidParentId)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.BillTemplet[0].StrType)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.BillTemplet[0].StrSubSortId)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.BillTemplet[0].StrLevelCode)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.BillTemplet[0].StrBillCode)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.BillTemplet[0].StrBillName)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.BillTemplet[0].StrUnit)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.BillTemplet[0].StrComputeType)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.BillTemplet[0].GuidAssociateBillId)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.BillTemplet[0].BlnIsExceed)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.BillTemplet[0].StrParentShortName)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.BillTemplet[0].BillProperty)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.BillTemplet[0].IntIndexNo)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.BillTemplet[0].DtmOperateDate)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.BillTemplet[0].BlnTabooFlag)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.BillTemplet[0].GuidBillVision)
            </th>
            <th></th>
        </tr>
    </thead>
    <tbody>
@foreach (var item in Model.BillTemplet) {
        <tr>
            <td>
                @Html.DisplayFor(modelItem => item.GuidParentId)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.StrType)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.StrSubSortId)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.StrLevelCode)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.StrBillCode)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.StrBillName)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.StrUnit)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.StrComputeType)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.GuidAssociateBillId)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.BlnIsExceed)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.StrParentShortName)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.BillProperty.StrPropertyId)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.IntIndexNo)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.DtmOperateDate)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.BlnTabooFlag)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.GuidBillVision.StrVisionName)
            </td>
            <td>
                <a asp-page="./Edit" asp-route-id="@item.GuidBillId">Edit</a> |
                <a asp-page="./Details" asp-route-id="@item.GuidBillId">Details</a> |
                <a asp-page="./Delete" asp-route-id="@item.GuidBillId">Delete</a>
            </td>
        </tr>
}
    </tbody>
</table>
